package com.example.market_management.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {

    @TableId(value = "product_id",type = IdType.ASSIGN_UUID)
    private  String  productId;

    private  String  productName;
    //产品数量
    private  Integer productNum;
    //产品图片
    private  String  productImg;
    //产品价格
    private  float  productPrice;
    //产品地址
    private  String  productAddress;
    //产品负责人
    private  String  productHead;
    //产品类型
    private  String productType;
    //产品单位
    private  String  unit;
    //产品预计到货时间
    private  Integer lockTime;

}
